package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

/**
 * @Author wpj
 * @Date 2020/10/28
 */
@FieldTypeAnnotation(tableName = "t_l_ck_huashigang_helper", desc = "花石纲触发援兵日志", autoSave = true, uploadCk = true, isCross = true)
public class HuaShiGangHelperLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "服务器id")
    private long serverId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "活动小类型")
    private int childType;
    @FieldTypeAnnotation(desc = "援兵数量")
    private int helperNum;
    @FieldTypeAnnotation(desc = "援兵时间")
    private long helperTime;

    public HuaShiGangHelperLog(long serverId, long userId, int activityId, int childType, int helperNum, long helperTime) {
        this.serverId = serverId;
        this.userId = userId;
        this.activityId = activityId;
        this.childType = childType;
        this.helperNum = helperNum;
        this.helperTime = helperTime;
    }

    public long getUserId() {
        return userId;
    }
}
